package com.gitee.sop.sopauth.enums;

/**
 * 用户登录类型
 *
 * @author wlx
 */
public enum LoginType {
    phone("phone", "手机"), email("email", "邮箱"), pwd("pwd", "账号密码");

    private String code;
    private String info;

    LoginType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
